updated raster2 to work with spikesort