first push of jackknife resampling implementation not-yet-working in cudaC