Added temporal calibration and fixed NCC procedure