fixed classpath for libraries.
files are now ignored if they contain a ~ in them.
Another NaN slipped into the history,json file over the last few days so
I added a check for NaN in the precision method as well.