refactoring of experiment class and calculating actual results of the experiment
trying to calculate expriment value correctly and make the unit test pass