Using simpler way to compute local orthogonal basis.