method of moments estimator for uniform distribution