Fixed an error in normalisation.  Resolved issue #14.

* Heuristically, reordering of atoms and assignment of normalised
  IDs is being done thrice.  This may need further testing and
  tuning later.