ToCoordinateConvention is now templated for Scalar type.