Change random k-vector into gaussian beam