On the calculation of the orientational correlation parameterg2