Code for Iterative Learning Control (ILC) for the plotter