Fix #76
Fix to_rational when called with (x, 0)

to_rational failed to raise the proper error when called with a tuple
with a zero denominator