kpModel is now working. Also added a gnuplot file to plot the results