sloppy but standalone compilable vegas->psrfits conversion routines