removed pyfits dependency