More documentation. Added output of bond lengths.