Optimizer for pi, theta for heterozygous samples in the beta-binomial mixture fit using expectation-maximization

CppHet_Optim(
  StartVals,
  ref_counts,
  var_counts,
  sprv,
  MemLim = 2048L,
  Xtra = 7L,
  step_size = 0.01,
  tol = 0.1,
  epsabs = 0.001
)