Weighted damped least-squares in kinematic control of robotic manipulators