Evaluation works well

Added the "evaluate" method that works as expected.