Rate Adaptive Cardiac Pacing Considering Closed Loop Control