Numerically stable algorithms for the computation of reduced unit cells.

Numerically stable algorithms for the computation of reduced unit cells.