Normalize a matrix column-wise by dividing each entry by its corresponding column sum.

normalize(x)

## Arguments

x a matrix

## Value

a normalized matrix