nj and ward linkage fixed; docs improved