Added optional param to jii.eachCons, added jii.permutations method