Jackknife method adopted; Speed optimized; Bug fixes.