Smart materials have revolutionized industry by helping produce better products. Now, NASA's trying to make smart materials even smarter.