A MODEL OF INTELLIGENT MATERIAL WITH SELF-REPAIR FUNCTION