ISTA 520 gravity simulation midterm