Implemented DR ratings correctly. All results match waveplot-client C++ program now.