regular commit.
I have the problem of floating precision when calculaing NCC

Signed-off-by: ezheng <ezheng@cs.unc.edu>
This version solved the precision problem.

Signed-off-by: ezheng <ezheng@cs.unc.edu>