Add PMF (Cython version)