Removed 1/N factor, mean removal now working.