Trying and failing to get image3d to work.  The image_write and image_read need to be checked as well as the buffers need to be updated