Refined rubikpd and utils: move rankAux and unrankAux to utils