Fixes associated with pcdata
Rewrote diff algorithm for NodeVectors
Tests for diff