Analysis and optimal design of an underactuated finger mechanism for LARM hand