Fixed bug in maxwell_gaussian.