Setting the sample monitor tool and initiating program to run in WinBUGS