Extraction of static respiratory system compliance by applying neural networks on dynamic curves