Flexible homogenization hx 3722

Adds the option to use another material besides thermal conductivity.
#3722