simple inelastic ball bouncing. first attempt.