In an ideal world the receiver would detect the start of the first pulse reflected, so starting the timer at the start of the first pulse is correct. In the real world you may find there is some small difference between actual and measured distance, but if it's a problem you can just make a small adjustment when everything is finished.