Gain And Waveguide Engineering In Mid-Infrared Quantum Cascade Lasers