gather all multiply-by-reciprocal code into divide.h

makes code easier to follow and tweak