Performance of polynomial Gaussian functions in describing the molecular electronic continuum