cvmm function

Constructor for the cvmm class