Do the file reading in the test so you don't have to
Pull in Nat's chart changes and add an extrapolate test and implementation using commons.Math