DictionaryPattern entropy calculation now actually invoked..
Bugfix: Off-by-one in the dp pattern optimiser.