Weights class was missing copy() and copy constructor was broken