Update CosmicEagles.cpp

Just put in all of the code that Cosmic Eagles submitted for 3D
Merge pull request #1 from kevin63857/patch-1

Update CosmicEagles.cpp