Role of Uncertainty in Anticipatory Trajectory Prediction for a Ping-Pong Playing Robot