Refactors Poly.as_basic() to use the multinomial_as_basic() function.
Refactors Poly.as_basic() to use the multinomial_as_basic() function.

Signed-off-by: Ondrej Certik <b816faa87b7d35274d2e545c5be11ed4376f3ccf@certik.cz>
Signed-off-by: Fredrik Johansson <c439222bafc5b3764945b3d7ed4cbf265c684bfe@gmail.com>

Titan-C/sympy,AunShiLord/sympy,meghana1995/sympy,Designist/sympy,AunShiLord/sympy,jerli/sympy,ChristinaZografou/sympy,saurabhjn76/sympy,AunShiLord/sympy,pandeyadarsh/sympy,jbbskinny/sympy,Vishluck/sympy,Mitchkoens/sympy,sunny94/temp,jbbskinny/sympy,skidzo/sympy,skidzo/sympy,Davidjohnwilson/sympy,shipci/sympy,mcdaniel67/sympy,sahmed95/sympy,ahhda/sympy,asm666/sympy,sahilshekhawat/sympy,AkademieOlympia/sympy,hrashk/sympy,ga7g08/sympy,Arafatk/sympy,jerli/sympy,sunny94/temp,aktech/sympy,cccfran/sympy,AkademieOlympia/sympy,jerli/sympy,madan96/sympy,yukoba/sympy,cccfran/sympy,Gadal/sympy,sampadsaha5/sympy,Designist/sympy,sampadsaha5/sympy,atsao72/sympy,chaffra/sympy,drufat/sympy,bukzor/sympy,mattpap/sympy-polys,debugger22/sympy,Shaswat27/sympy,hrashk/sympy,beni55/sympy,grevutiu-gabriel/sympy,toolforger/sympy,sahilshekhawat/sympy,pbrady/sympy,sahmed95/sympy,kmacinnis/sympy,cccfran/sympy,yukoba/sympy,sahmed95/sympy,jamesblunt/sympy,oliverlee/sympy,wyom/sympy,bukzor/sympy,Titan-C/sympy,ChristinaZografou/sympy,MechCoder/sympy,MridulS/sympy,Sumith1896/sympy,grevutiu-gabriel/sympy,lidavidm/sympy,abhiii5459/sympy,kumarkrishna/sympy,flacjacket/sympy,MridulS/sympy,vipulroxx/sympy,Davidjohnwilson/sympy,farhaanbukhsh/sympy,pbrady/sympy,oliverlee/sympy,farhaanbukhsh/sympy,farhaanbukhsh/sympy,oliverlee/sympy,liangjiaxing/sympy,lidavidm/sympy,jamesblunt/sympy,ga7g08/sympy,Gadal/sympy,Davidjohnwilson/sympy,MridulS/sympy,maniteja123/sympy,souravsingh/sympy,maniteja123/sympy,jbaayen/sympy,wyom/sympy,abloomston/sympy,jaimahajan1997/sympy,chaffra/sympy,kaichogami/sympy,kaushik94/sympy,postvakje/sympy,kaichogami/sympy,lindsayad/sympy,saurabhjn76/sympy,jaimahajan1997/sympy,atreyv/sympy,kmacinnis/sympy,VaibhavAgarwalVA/sympy,ChristinaZografou/sympy,kevalds51/sympy,hazelnusse/sympy-old,moble/sympy,hazelnusse/sympy-old,rahuldan/sympy,souravsingh/sympy,Curious72/sympy,shikil/sympy,jbbskinny/sympy,fperez/sympy,abhiii5459/sympy,mcdaniel67/sympy,madan96/sympy,meghana1995/sympy,mafiya69/sympy,skidzo/sympy,pernici/sympy,toolforger/sympy,hargup/sympy,srjoglekar246/sympy,bukzor/sympy,hargup/sympy,Shaswat27/sympy,yashsharan/sympy,emon10005/sympy,vipulroxx/sympy,beni55/sympy,jamesblunt/sympy,sampadsaha5/sympy,liangjiaxing/sympy,madan96/sympy,moble/sympy,Vishluck/sympy,kmacinnis/sympy,Arafatk/sympy,atreyv/sympy,Curious72/sympy,kevalds51/sympy,wanglongqi/sympy,mcdaniel67/sympy,minrk/sympy,iamutkarshtiwari/sympy,iamutkarshtiwari/sympy,postvakje/sympy,tovrstra/sympy,dqnykamp/sympy,Sumith1896/sympy,emon10005/sympy,sunny94/temp,AkademieOlympia/sympy,lidavidm/sympy,ryanGT/sympy,saurabhjn76/sympy,abloomston/sympy,VaibhavAgarwalVA/sympy,atreyv/sympy,kevalds51/sympy,ahhda/sympy,pandeyadarsh/sympy,atsao72/sympy,Titan-C/sympy,moble/sympy,debugger22/sympy,souravsingh/sympy,drufat/sympy,beni55/sympy,cswiercz/sympy,shipci/sympy,yashsharan/sympy,yashsharan/sympy,liangjiaxing/sympy,Shaswat27/sympy,hrashk/sympy,diofant/diofant,aktech/sympy,dqnykamp/sympy,dqnykamp/sympy,Gadal/sympy,minrk/sympy,toolforger/sympy,shipci/sympy,KevinGoodsell/sympy,asm666/sympy,MechCoder/sympy,Arafatk/sympy,kaushik94/sympy,kaichogami/sympy,Sumith1896/sympy,Mitchkoens/sympy,cswiercz/sympy,aktech/sympy,amitjamadagni/sympy,jaimahajan1997/sympy,VaibhavAgarwalVA/sympy,pandeyadarsh/sympy,maniteja123/sympy,kumarkrishna/sympy,kumarkrishna/sympy,shikil/sympy,mafiya69/sympy,emon10005/sympy,rahuldan/sympy,amitjamadagni/sympy,yukoba/sympy,garvitr/sympy,shikil/sympy,mafiya69/sympy,debugger22/sympy,garvitr/sympy,cswiercz/sympy,drufat/sympy,wanglongqi/sympy,grevutiu-gabriel/sympy,ga7g08/sympy,ahhda/sympy,Mitchkoens/sympy,garvitr/sympy,abloomston/sympy,rahuldan/sympy,postvakje/sympy,MechCoder/sympy,sahilshekhawat/sympy,Vishluck/sympy,Designist/sympy,iamutkarshtiwari/sympy,wyom/sympy,pbrady/sympy,Curious72/sympy,lindsayad/sympy,skirpichev/omg,atsao72/sympy,vipulroxx/sympy,kaushik94/sympy,chaffra/sympy,lindsayad/sympy,meghana1995/sympy,abhiii5459/sympy,hargup/sympy,wanglongqi/sympy,asm666/sympy