Function to Obtain Transition Martix from Dynare