Convert over to standard glm functions for length, normalize, cross, and dot product