First commit of normalization algorithm