coordinate transformation and so on

getting ready for mayavi