Development of a simulation code for material analysis using the PIGE technique