CONTACT PROCESSING IN THE SIMULATION OF THE MULTI-BODY SYSTEMS