Fix for negative sigmas. Memory leaks (Marco)

No match.