On mapping algorithms to linear and fault-tolerant systolic arrays