improved AI, tweaked ship physics, and fixed some trigonometry errors