adding gauss

trying to fix gauss calculations, using main to calculate some
slighting algorithms