Updated sigma calculator