On-Line Computational Scheme for Mechanical Manipulators