The prediction of coal properties using compressed infrared data from osculating polynomials