added parallelization of permutation part of the algorithm
added test for signature vector permutation
fixed bug in comparison of signature vectors and added cli handling