Optimizing the Synthesis of Nitrogen-Substituted Zeolites