Add two older versions of gauss method