Add contact-parameter.
Change the way of calculating of wet contacts, now they are calculated only, if volwater>0.
Sort files for their modification time.
Shorten sort function.
Remove unused variable.