extend function

Add rows and columns around a writeRaster