Optimal Catalyst Activity Profiles In Pellets .8. General Nonisothermal Reacting Systems With Arbitrary Kinetics