public TPTFlux(IDoubleArray M, IIntArray _A, IIntArray _B)
{
this.A = _A;
this.B = _B;
this.committor = new Committor(M.rows(),A,B);
this.statdist = new StationaryDistribution();
if (MarkovModel.util.isTransitionMatrix(M))
{
setTransitionMatrix(M);
}