Do not accept NaN, NegativeInfinity, PositiveInfinity doubles - Fixes #3...

This fixes #33