Use VectorLength instead of the Sqrt formula

Because it was bugging somehow. Also, it's faster this way.