Finished implementing everyting, initial test OK. Only outputs a table in the astropy.table format.