Add a Sample Mean Method to do the integration