Add fe_pinvert, passed test