Spectroscopic calibration and quantitation using artificial neural networks