normalizeData function

Normalization of given data