first attempt at removing the image coalignment into a separate function
fixes to mapcube coalignment keywords and fiunctionality