bouncing ball with vectors