Design of a new five-link haptic device considering its dynamics