Fixed division by zero errors. However this will crash. *BROKEN*