fix eleca isnan, and getType
Merge branch 'master' of git@github.com:CRPropa/CRPropa3.git