fixed math behind compass. compasses now point in the correct direction.