raw version of gauss eliminator