made improvements to data2raster, including correcting the indexing error on get_raster_size