Fixed def sagbi()