Simulations of Mid Infrared Emission of Dilute Nitride Semiconductors