Faster SimpleRate

Stephan authored these changes in our repository. Idea is to implement a priority queue to keep items sorted and move around less memory (pointers) to speed it up.