Performance Comparison Between Coherent and Non-Coherent Approaches for Over-the-Air Computation