Make FITS loader deal with 3- and 4-d data