Invariants of the Markov process by the transformation of variables