A couple small fixes to varbvsmixoptimize for R.