On the polynomial integrability of the Kirchoff's equations