Added a angleToVector2f method and added length parameter to both
angleToVector methods
Fixing compatibility issues