use unique_ptr instead of shared_ptr for wavefunctionamplitude's.  this removes the possibility for some subtle bugs in user code.

also removes all the copy-on-write nonsense
fix "bad bands" in the renyi test