Merge pull request #224 from rmarianetti/npc-73

npc 73
Added example swarm JSON that uses a custom error metric