added mpd_select_colours function, which selects colours by maximizing mean perceptual distance (MPD) between them