Dynamic Power Allocation for Downlink NOMA