Create calculateBtilda