Update calculateBetaBoundsRecursion.m