Some bugs

squished but broken set bonds functions in monomer.cpp