Add the supplemental codes of monte-carlo simulation