storeCoordinates changed to storeTrainDataCoordinates. Removed nested try-clause in storeTrainDataCoordinates() and storeTestDataCoordinates().