modified checkbehavior: first delete old days, then calculate probabilities
small improvements in alarmcascade