Make `PopulationRateMonitor` take subgroups into account correctly. Fixes #282
Merge pull request #299 from brian-team/fix_282

Make `PopulationRateMonitor` take subgroups into account correctly.