Development of a Computational Model of Respiratory Mechanics in Mechanical Ventilation