% EM algorithm for k multidimensional Gaussian mixture estimation%% Inputs:% X(n,d) - input data, n=number of observations, d=dimension of variable% k - maximum number of Gaussian components allowed% ltol - percentage of the log likelihood difference betw