Bug fixes, added feature count to results from permutations