Fixed incorrect geometry output and added check to correctly handle small (2 atom) zmatrices.