Added mead difference stabilization.
Added calculation of min root mean square difference.