Fixed gradients to use doubles; displaying LK results in video