Chemical reaction and reactor design