NS: Update compute_errors.py