fix missing matrixToTuple function for hrp2_10 close #5