Attempt at faster kernel for TEST,
updated fit.py,
errors in the kernels fixed