changed aligner to have an errorProfile object for easy access