Minor refactor to help with a yet explained error

- Logged a case that resulted in Infinity which hapens when you divide a Float by 0 but that shouldn't be possible in Durta... Regardless, this change will cover that case as well as ZeroDivisionError.