Compute the local corrections in local coordinates on the tangent bundle now, instead of using the embedding in the surrounding space [[Imported from SVN: r5985]]