Altered astrometry and stack routines so that the new parts work on different filters.  Previous commit had bugs when dealing with anything besides i band