completed Gaussian calc

Still needs comments