add handling of NA values to heatmisc