emdl1 added for 1 dimension