added calculation of task 2 for different sigmas and epsilon