Removing d3 dependency

d3, while obviously a fantastic library, pulls in a slew of other modules. One of those breaks for us (see https://github.com/brianmcd/contextify/issues/136) and it is generally unnecessary.

As d3 is only used for a few math utils, its was fairly easy to strip out.