added nature type in xml and changed particlegenerator and outputwriter respectivly