You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: create_uni.m
    path of file: ./repos/d2d/arFramework3/ThirdParty/strike-goldd/STRIKE-GOLDD/functions/aux_Lie_symmetry/lie_sym_functions
    
    the code of the file until where you have to start completion: function [infi,rs_k] = create_uni(allVar,l_allVar,pMax)
%%  FUNCION CREATE_UNI
% 
%   Function that creates univariate infinitesimals
% 
%   INPUT:      allVar --> All variables
%               l_allVar --> allVar length
%               pMax --> Maximum infinitesimal degree
%
%   OUTPUT:     infi --> Infinitesimal vector
%               rs_k --> Coefficients of infinitesimal polynomial 

    
function [infi,rs_k] = create_uni(allVar,l_allVar,pMax)
%%  FUNCION CREATE_UNI
% 
%   Function that creates univariate infinitesimals
% 
%   INPUT:      allVar --> All variables
%               l_allVar --> allVar length
%               pMax --> Maximum infinitesimal degree
%
%   OUTPUT:     infi --> Infinitesimal vector
%               rs_k --> Coefficients of infinitesimal polynomial 
%
%%
    infi=[];
    rs_k=[];   
    for k=1:l_allVar
       temp=0;
           for d=1:pMax+1
              s=d-1;
              t=sym(['r_' num2str(k) '_'  num2str(s)]);
              rs_k=[rs_k,t]; 
              temp=temp+sym(rs_k(end