NYPD launches new analytics tool for fighting terror, crime