How spacetime curvature and coordinate transformations affect the metric connection and the Riemann tensor .