The memory requirement for each matrix is n-by-m, 
where 
n is the size of sample, which is the size of mu or sigma2 
m is the size of the pre-defined bound, which is num_rows of the bound. (In the Matlab code, m is 20)