Forward and Backward Kinematics with Denavit-Hartenberg Formalism