Machine Learning-Based Power Estimation and Coastal Adaptation of Wave Energy Converters