DOC: bold2betasfromResiduals