Work on complex number support for transition matrix and initial state.