Finally finished converting to the Vector2f system

Code has been fully tested, should be without bugs.