maximum likelihood estimation normal distribution in r