Online Ensemble Learning of Sensorimotor Contingencies