cache the correction factor since it is only a function of height

second 'pass' optimized calculation
is the cache really needed since the formula is so simple now?