updated tester script to return location data rather than bind result to d3 created element.
deleted too much in last commit.
removed writing of canvas to DOM - all calculations can be done without DOM interaction to improve speed.