Rigid robot arm simulator and 3D visualisation with gnuplot