cluster final version,I modify an equation about the function named getTSE(),that's because I don't know the meaning of the vector and the matrix.shit idea...