normalization function

Normalization of an R object