repeats the identity matrix of size 'n' 'i'-times along the first dimension
function repmat1 input Real A[:, :]; input Integer m "number of rows of A"; input Integer n "number of columns of A"; input Integer i "number of repetitions"; output Real[i*m, n] mat; end repmat1;