32-bit multiplication and velocity formula implementation

"int" is 16bit, you need to:

unsigned long V = round(DeltaTOF1* pow(c,2))/(2*(d+l));

If velocity can be negative, please remove "unsigned".