added gauss' elimination stub and tuned the rest of the code to use it