converted stereo correspondence algorithms to the new style

--