array_to_cimg function

Converts from a raster array to a cimg object