Many bugs fixed through use of d3 selector.filter()
Merge pull request #117 from renoust/PDP

Many bugs fixed through use of d3 selector.filter()
+Integrates centered rect nodes