Numeric Integration Python