Pick smallest deformation if more deformations have the best correlation value.
closes #14.