add Richard P. Brent's cycle-finding algorithm; add mu and lambda finding