Updated Disp_Map_Calc to output the same number of pixels for any window size