Waveform Analysis to Estimate Respiratory Rate