Text this: A New Local Modelling Approach Based on Predicted Errors for Near-Infrared Spectral Analysis