Division by zero when calculating shipping tax rate

Fixed #42