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