Figured out how to score the coordinates for the rotation