add mheat to convert data for heatmap
add mval to extract specified values