few things: changed centres->components, added the option to 'rescale' (+recentre) each individual mixture to be between exp(-1) and exp(1) (before normalising globally)... this has the practical effect of preventing any one component from really dominating visually, but is obviously a hack and distorts the purity of the mixture pdf
sample output :)