add m-files to document the metric functions