added function to combine previous two frames and produce new disparity
map