residual_heatmap function

Construct heatmap of residuals