Fixed negatives and fractions bug.