Julia KCenter1D debugged