Discrete Frenet Frame With Application To Structural Biology And Kinematics