How does the patient monitor measure breath?