fix gauss algorithm to work with larger right hand sides
fix for loop in gauss.py