Soft-Decision Minimum-Distance Decoding