Fix some multiplication in the gaussian periods