alpha score function added for semi-markov model (beware, uncompilable state)