Generalized variance-comp.R, renamed to sc-debug.R.