Better handling of singular matrices in PCA plots.