implemented MLM statistical error bar calculation