Renamed sampleValue to getValue.  Added unit test for rasters and fields.