Modelling a 2 Dof Flexible Planar Manipulator