normalize function

Normalize a variable x by a variable y