Optimal learning control of mechanical manipulators in repetitive motions | Synapse