def _y_reverse(mat):
    """ Reverse the y axis of a 2d list-like
    INPUTS
    ------
    mat: list of lists
        the matrix to reverse on axis 0
    OUTPUTS
    -------
    r: list of lists
        the reversed version
    """
    r = [ list(reversed(mat_i)) for mat_i in mat ]
    return r