Add matrixify function to admin matches ctrl