Added cvRNG and cvRandMat functions.