added methods for obtaining min/max from matrix
basic heatmap visualization