changed montecarlo.cpp

Add section for initialisation