Started transition matrix function