head pose output changed to include title line in output file