Catalyst Design: Optimal Distribution of Catalyst in Pellets, Reactors and Membranes