Correcting error in trim tests
Speeding up jackknife processing