An Optimization Framework for the Design of Noise Shaping Loop Filters with Improved Stability Properties