	Removed isinstance and duplicate code from orbit()
	Removed isinstance and duplicate code from orbit()

	At the suggestion of Stefan Krastanov.

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