def relevantIndexes(matrix, row):
    """
    Gets the relevant indexes of a vector
    """
    relevant = []
    for j in range(matrix.shape[1]):
        if matrix[row, j] == 1:
            relevant.append(int(j))

    return relevant