Basically working metrics computation
Logic for compute-metrics done
Adds non-finished documentatino
Adds documentation
Makes some variables optional