RF: removed the integral correction, added it to the cython code