The problem of adaptive control in a living system or how to acquire an inverse model without the help of an external teacher