Network Coding Performance Evaluation and an Application to Underwater Networks