added a method to calculate the node sum force after the line solve is performed. Proced to write this to the output file