Add function to compute probability with a delta