An architecture for spectrum management and coordinated control in 5G heterogeneous networks