Update cv.R

simplify cv
doesn't calculate deviance and brierscore simultaneously