fm_diameter function

Diameter bound for a geometric object