plot_contour_matrix: add weights argument