changed code to allow for XLAT and XLONG being matrix, correctly outputs nearest grid cell at SNQ
updated for UW atmos WRF output format.