This function is called by the discretization using equal frecuencies.
disc2(x, k)
x
k
Edgar Acuna
disc.ef