@GregAshton These two small fixes make the package work again under current scipy (1.4.1) and python3.