New Decoding Methods for LDPC Codes on Error and Error-Erasure Channels