Moving iqcalc out of AstroImage