Revert "Edited the Coordinates class and added exceptions"

This reverts commit 6052b7cb0fb8c3a764000149edce444b0736d0d3.