hdb corrections

Corrected loop sequence to catch all molecules when there is more than
one type.
hbd remove writings to terminal