Collection of functions for orthogonal and orthonormal