Fault tolerance for matrix and signal processing applications