Fixed Qi's mpp bugs. Fixed FP/FN bug.