Engineers develop novel material that can think and sense