fixed the case if sigma is zero
example