Modelling of Spatial 3 DOF Robot Arm