cleaned up the matlab simulation. The only thing to do next is add bouncing off of the ramp, or another more appropriate way to deal with the ball landing on the ramp again