Extracted sigmas
Added root search. Added example to calculates values