change gauss solver