Add support for negative fractions.

Please update the npm repo once this pull is merged.  Thanks!