updated lammswriter to new standard. Added electrostatic class. Some
minor unimportant changes.