d3js psom integration test - link length

Link lengths are now integrated into d3js. Also fixed a filthy little
error in the PSOM algorithm where there was a reference copy being done
rather than a deep copy. TUT TUT.