Now returning the best unconverged model of the ab and cd options.
cleaned up the code.