Replaced height factor constants with a small set of parameters.
Replaced area height factor constants with parameters.