reverted xmimsim-input changes

also wrote code that determines all unique elements and unique linetypes
from the archive