Contact variational integrators. (10th October 2019)