IDoubleArray Lambda = evd.getDiagonalMatrix();
System.out.println("old timescales: "+ts1);
System.out.println("Lambda = \n"+Lambda+"\n");
int nhidden = 2;
PCCA pcca = msmNew.createPCCA(T, nhidden);
IDoubleArray R = evd.getRightEigenvectorMatrix().viewReal();
IDoubleArray Rsub = R.viewBlock(0, 0, T.rows(), nhidden);
pcca.setEigenvectors(Rsub);
pcca.perform();
IDoubleArray M = pcca.getFuzzy();
System.out.println("M\n"+M);
IDoubleArray pi = msm.stationaryDistribution(T);
IDoubleArray Pi = doublesNew.diag(pi);