Error control for libMFPT