added NPA chords to D3D
added ability to calc. npa from weight function
print out progress
add ability to plot weights. made switches obvious