Diaphragm electromyography post processing with Simulink as a means of guiding weaning from ventilation in preterm infants