added ability to get the bin coordinates as integer gridcells