logsumexp function by Row

logRowSumExp(M)