Application of the method of integral relations to laminar boundary layers in three dimensions