Surfer Input Fix

This fixes multiple issues when reading Surfer grids.