Commiting this version before I try to create a version without mpmath