
function K = build_kernel_matrix(lines_vectors)

    
    num_lines = cols(lines_vectors);
    
    
    K = zeros(num_lines, num_lines);
    

    for i = 1:num_lines
        
        for j = 1:num_lines
            
            vector_i = lines_vectors(:, i);
            vector_j = lines_vectors(:, j);

            product = vector_i' * vector_j;
                              
            K(i, j) = product;
        
        end
        
    end


end
