Ensure that gradient search is converging
Make all tests pass, add greedy search back in