Parallel error correction algorithm in RNS VLSI digital circuits