containing matrixies in mysql database