Approximate computing for onboard anomaly detection from hyperspectral images