Which life function is most directly involved in the control of the muscles of an earthworm that is moving from dry to moist soil?