Update buffer_calc.ipynb