ngchmAddMatrixToCollection function

Add a matrix reference to a collection