Added lengthSquared function for efficiency! Woo