XWrap only defined in FFA_cext.pyx
New cython function for folding