Vector operations

Updated all vector computations using libGDX Vector2 API.