add PA and lerfu to mex