Law enforcement training software merges with ‘early warning’ system for bad cops