Moving coordinate transformation routines to their own module.
Merge branch 'master' into dev