Made getAngleBetweenObjects() calculate the angle between the centers of objects