Added gamma(sigma) function for every state