forgot to multiply by the normFactor in the for loop