A CMOS Majority Logic Gate and Its Application to One-Step ML Decodable Codes