def name_matrix(vma):
    """ Obtain the name matrix of the V-Matrix that contains the
        coordinate names by row and column.

        :param vma: V-Matrix
        :type vma: automol V-Matrix data structure
        :rtype: tuple(tuple(str))
    """

    if vma:
        name_mat = tuple(zip(*vma))[2]
    else:
        name_mat = ()

    name_mat = [list(row) + [None]*(3-len(row)) for row in name_mat]

    return tuple(map(tuple, name_mat))