Added functions to make FITS tables as output