repeats the identity matrix of size 'n' 'i'-times along the first dimension
function repmatIdentity1 input Integer n "size of identity matrix to be repeated"; input Integer i "number of repetitions"; output Real[i*n, n] mat; end repmatIdentity1;