New funcs for world to/from local/node coords

Added getLocalCoords, getWorldCoords, getWorldCoordX, getWorldCoordY.
These were originally in
https://github.com/nickchops/MarmaladeQuickVirtualResolution but are
generic so have moved here.