fixed small errorin gauss elimination.