Rearranging locations of pivot routines and adding a distributed permutation inversion routine. More improvements are soon to come.