Changed the FLP and EPN code from multi-threaded to single-threaded