Changed the getangle formula in vec2 class