Add Geometry lerp and inverseLerp functions.
Add Geometry clamp function.
Preliminary fix for mean-value edge cases.

For example, if a point lies on an edge or a vertex of the enclosing
polygon.