Matlab code for the control of a 3RRR parallel manipulator at IRI