Deleted initial values in check_node and instead used reset, controller now bypasses code_rate matrix_calculation if same code_rate as previous codeword