Evaluation of the Algorithm Used in Near Infrared Spectrophotometry