A love of mathematics led Zach Grey to research that will advance manufacturing and renewable energy.