Added MatrixChange::ChoosePmidNode and a test for this function.
Added missing constructor definitions for MatrixChange.