roughly happy with refactoring of jackknife.py, except for gencor(), where we still need to decide on some stats details. now writing tests.