Based on the method by Devendran et al. 2014. Install sudo apt-get install python3-numpy python3-sympy and run make.