Restore previous version of lib/binary-PC1-score.R