Added `Num`, `Floating`, and `Fractional` instances.  Fixes #24