maximum likelihood estimation uniform distribution