Update functions/calculateBrittle.php

clean up