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: lstm_init.m
    path of file: ./repos/MIN1PIPE/utilities/RNN
    
    the code of the file until where you have to start completion: function [Wt, Ut, ht1, ct1] = lstm_init(pars)
%%% Jinghao Lu 02/28/2017 %%%

    %%% basic structural pars %%%
    layern = pars.layern;
    indim = pars.indim;
    hdim = pars.hdim;
    outdim = pars.outdim;
    bsize = pars.bsize;

    
function [Wt, Ut, ht1, ct1] = lstm_init(pars)
%%% Jinghao Lu 02/28/2017 %%%

    %%% basic structural pars %%%
    layern = pars.layern;
    indim = pars.indim;
    hdim = pars.hdim;
    outdim = pars.outdim;
    bsize = pars.bsize;
    
    Ut = {initMatrix(outdim, hdim, pars.gpu)}; %%% key weight %%%
    Wt = cell(1, layern);
    ht1 = cell(1, layern);
    ct1 = cell(1, layern);
    hdimt = hdim;
    indimt = indim;
    for l = 1: layern
        Wt{l} = initMatrix(4 * hdimt, hdimt + indimt + 1, pars.gpu); %%% key weight including bias %%%
        ht1{l} = zeroMatrix([hdimt, bsize], pars.gpu);
        ct1{l} = zeroMatrix([hdimt, bsize], pars.gpu);
        indimt = hdimt;
        hdimt = hdim;
    end