Mathematical model development for a six-link industrial robotic arm with mechanical gripper