got rid of the need to create a whole new datacube to store the shifted data.  This should be more efficient in memory.