Calculation of metric coefficients for streamline coordinates.