Replaced Vector2f().length() with MathAdv