Change table to HTML. 'calc_metric_tensor' is in mageom.py