fix atom and bond indexes for correct saving mol format
Merge branch 'code' into neyron