removed divide by zero check, let it go through and return and inf