Prototype Update I

I tried using jsFeat to implement Lukas Kanade optical flow algorithm, but it became too time intenstive. So here is a hack: