Added function to compute the cross-correlogram between two trains.