Determined the coordinates of the four corners