added conservative residue monitor and fixed reduce for periods that aren't 1 (although it should be switched back and bounds done in terms of steps eventually)