This function ensures that a vector of values will sum to a given number. It's implemented in certain growth forms (curently: constant and logistic )
Useful links