preprocess_negative_values function

Preprocess negative values in the reporting triangle