Introduces cube option into rebin_cubeHDU