Cerebellum-inspired approach for adaptive kinematic control of soft robots