a lot of fixing, testing and refactoring

Signed-off-by: Marcel Schwittlick <marzzzel@gmail.com>
now the app automatically opens the results

Signed-off-by: Marcel Schwittlick <marzzzel@gmail.com>
finished testing MathUtils

Signed-off-by: Marcel Schwittlick <marzzzel@gmail.com>