orthogonalization of tangent vector
fixed weird flickering