SinglePass routine changed

Ambiguity occurs if there are two equal maximum x-correlation peaks. A
change was made to allow for the method 5 case.