dmm: change calib and prior collection type to vector
dmm: write functions that set the various states of the dmm matrices