Fix undefined sigma