Revert "Improve efficiency of jackknife"

This reverts commit aee342fdddfd2374558395a6bdbc73f00a0ffbe3.
Really fix jackknife

The reference I consulted for the previous commits was wrong