changed getAngleBetweenVectors