Implemented SetCoordinates. Improved test file.