A proposal for the automatic evaluation of the mean curve required by the ANSI/IEEE Std. 4 1978