Implemented the disparityComputation and showDisparityMap functions