Solved a shameful division by Zero bug