fixed outlier rejection and reordering of matrices for em algorithm
added outlier rejection of individual objects.  Required quite a few changes.  Note I have fixed the ordering of the variables so that the plotting routines will no longer work with these outputs.
forgot to add a file to last commit