Equivalent flexibility modelling for the recursive simulation of robot manipulator dymamics