Determines the maximum value of each row of a matrix; used as a convenience function for plotting.
Useful links