bug fix in likelihood ratio kernel function which was returning incorrect limits for negative x values