Finish Testing Remove Permutations
Add a few more helper functions