added HM+SCC encoder to RD-curve tool