https://1library.org/document/y966e9wy-numerical-geometric-integration-with-homspy.html