Fix bug when unit root models provide NaN's or Inf's in g_omega
Merge pull request #603 from rattoma/master

HP-filtered moments: Fix bug when unit root models provide NaN's or Inf's in g_omega