Computational Design of Smart Materials