defect in element removal fixed, changed the API to make function names shorter and multi-permutation removal order tests added