Fixed gauss.py to contain both raveled and whole matrix versions.