first attempt at refactoring CoordinateTransform
removed commented out code etc
cleaned up some code
Merge pull request #56 from anizami/frames

issue35 - add ability to use any coordinate system