Updated IBMs changes, now supports multiple brackets.  Also doesn't remove pseudo atoms