Working on permutation normal form.
Fixed errors in palp_*-methods.