Revert "Edited normalizer function to normalize by row and columns"

This reverts commit f8182bc3df5f61b258a8fb50141927a77fce8ddf.