made the applyWhitening method only return variance
(#352)