ball bouncing with pvectors and class