Update jackknife.py

fixed a bug in weights -- would crash if h2 parameter was outside of [0,1]