added data normalization. changed result analysis in R.