reorganization

move estMMSE.m to be a separate function