Removed unnecessary code in primary analysis and added normalization