Tools for fitting and evaluating finite mixtures of linear regressions