gauss: commented code