Finished methods to convert to coordinates and back. Minor changes throughout, mostly aesthetical.