Higher Dimensional Nonlinear Regression-A Statistical Use of the Riemannian Curvature Tensor