Estimation of average number of nucleotide substitutions when the rate of substitution varies with nucleotide