closes #21: Updated d3. Fixed broken tests. Attempt to make them less fragile by rounding expectations.