Near-Infrared Hyperspectral Imaging Applications in Food Analysis -- Improving Algorithms and Methodologies