Getting video in matlab

Averaging frames still not working. Otherwise, the video looks correct.
Depth image only. Also, the path drawn is very spread out, so need to
average the frames.