Sequential preprocessing through ORThogonalization (SPORT) and its application to near infrared spectroscopy