Implemented a simple RankFind algorithm.
Spacing.
Added Permute.
Fixed rankfind.