Add tests for the orthogonal basis. Fix span not correctly checking if vector was zero.