Simulation Analysis of Scintillation in Sodium Iodide Detector