fix orthonormal_basis sign-preservation bug
tried implementing a "loop-around" trajectory