Add support for all elements in thin6d/collimat.
Fix bug which resulted in counting one too little particle in first pass and first turn.
More sanity checks for DUMP input parsing
Sanity checks for STAT and BMAT
more sanitizing