added back int() to matrix dimensions argument, to fix python 3 error
added back int() to matrix dimensions argument, to fix python 3 error

fredrik-johansson/mpmath,klkuhlm/mpmath,JensGrabner/mpmath,JensGrabner/mpmath,klkuhlm/mpmath