Discriminants And Nonnegative Polynomials And Factoring