added z score filtering. TODO add command line arg for z score filtering
enable and setting threshold.