The Meek Math Refactor

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