updated cahcematrix Yann