Revamped matrix algorithms for minimal representative search. Added tests for a simple Perm, Perm case.