Added tests for the findNewXAndY function. Errors for values in the 4th quadrant. Fix in next commit.