Bug fix for negative values of x(kk)