fix bug in buildMetric in mouthOpen2.py