Adding `literal` function to be able to return the array literal representation of a matrix.