Merge pull request #3132 from RosettaCommons/roccomoretti/nan_debugging
Fix NaN issue in FastSaxsEnergy, with additional NaN/Inf checking elsewhere
I spent a bit of time tracking down a NaN issue coming from the fastsaxs scoreterm. Add diagnostics to better report input file format failure cases.
Also, add some helper functions to help do debugging for the source of NaN/Inf. Add a few judicious debug_asserts() to ScoreFunction, Minimizer and AtomTree to help catch NaN/Inf before the propagate too far.