mu estimation, bug fixed, previous fix is not correct