Moved all the gpuArray stuff inside blur.m, maybe that will resolve the weird memory issues?