Add recording of Matrix to mongodb & loading matrix from postgres by not id in