Changes to the exercise_b. Addition of erros plots