fixed possible division by zero in f1 calculator
added head to head feature