Closed loop system for evaluating blood pressure and detecting arrhythmia