The correct normalization should be:  but your code is: 
The correct normalization should be:


but your code is: