Materials, Capital, Direct/Indirect Substitution, and Mass Balance Production Functions