Peakfit near infrared analysis tool