created iselement function
changed to anum, znum, deleted (s)
Merge pull request #583 from mzweig/Issue_352

created iselement function