Hermite normal form - Wikipedia