splitRaster function

Split and re-merge RasterLayer(s)