On Practical Implementation and Generalizations of max* Operator for Turbo and LDPC Decoders