When getting a value from a Raster, always try to return a double by default because that seems to be what people expect.