New module "Metric" with MFBD metric values

Compute objective function, object estimate, and first version of gradient.