void kernel_mc(DtUsedInt loop_nm, DtUsedInt seed, DtUsed underlying, DtUsed volatility, DtUsed dividendYield, DtUsed riskFreeRate, DtUsed timeLength, DtUsed strike, DtUsedInt optionType, DtUsed out[OUTDEP], DtUsed requiredTolerance, DtUsedInt requiredSamples, DtUsedInt timeSteps, DtUsedInt maxSamples, bool *finished)