Curve-Modelling and Machine Learning for a Better COPD Diagnosis