adjusted hdf5_to_fits so that the entire image cube is converted at once
added functionality to read from compressed fits files
added functionality for 3D fits encoding and decoding