FRICTIONAL CONTACT AND IMPACT MULTIBODY DYNAMICS : A COMPARISON OF ALGORITHMS SUITABLE FOR REAL-TIME APPLICATIONS