ranged totient faster and uses less memory
Adjust PP testing to reflect some functions now being in XS
Rearrange factor main loop