Calculation of the mean orbit of a meteoroid stream