Created Matlab functions that can chunk up an image similar to the way that the Cuda Image Container does