Gravar-mail: A multibody approach to the contact dynamics: a knee joint application