basic monte carlo for detla and betac