Matlab/C++ code for discretized density evolution for LDPC(C) codes