Fixing errors to these
adding in another spectrum class
added astropy imports