convert imult to rationals
get rid of idiv
modify nmult
get rid of ndiv
fix imult
generalize nmult
fixing ipow
bone up some tests