Damage tolerant structural design using neural networks