Reordered A/B in minimizeRmsd() to be consistent with supplied arguments; does not affect return values