Update robVariation.R

bug in robVariation solved.