Port EPAAlgorithm

Signed-off-by: Aleksi Sapon <QcTechs@gmail.com>
Port Simplex

Signed-off-by: Aleksi Sapon <QcTechs@gmail.com>