Ironed out many errors, RuntimeError: driver: Numerical overflow in the objective