fixed gauss method