I've done a programme for describing how the sphere attracts the comet

It shows the way the comet will be attracted by the sphere, and perhaps the other way round. There were problems when trying to run the function which I couldn't solve. Please if you see them try to fix them. I also don't know the way to put commments in here. Please fix any other problems you encounter
Updated with fixed minor issues
Update gravita
Merge branch 'master' of https://github.com/charlesp0096/COSMOSpheres into charlesp0096-master
Adding .m extension