By the way, I've just built the same file in octave and it runs without any errors. I've compared the two results using gnuplot and the trajectories are the same. Does anyone know why is giving me those errors? I've been able to reproduce the error in other machines. Thanks again, Adrián.