Incorporated bugfix from minimum refinement function ...

...  to standardize the way variables are read for different coordinate systems.