Minor corrections to the force calculation
small corrections to integration sequence and cleaning of triel code