Update for Rivet 3.1.4
Rivet 3 has made some changes to API along with the use of a newer version of Yoda. Together with it, we have moved to python3. This MR fixes all issues related to these changes. This MR is a replacement for !681 (closed), which got messed up.
Goes together with !736 (merged)
Edited by Gloria Corti