gauss-method