added Vector2f and 3f methods