Added a magnitude squared function to the vector. No need for that pesky square root.