MMSE detection algorithm