Working gauss mechanism
Alternative Gauss implementierung.