Added function p, minor formatting
Implemented permutation
Moved splitting in blocks to absorb function
Implemented unittests based on article vectors
Fixed bug, test vectors now match
Added f, g and h for D and S-QUARK, formatting