More accurate integral handling in python/utility/geometric.py