Bugfix

Using astropy.table instead of fits.getdata.