tidied up some redundant jackknife code