Application of Artificial Neural Network Model in Estimation of Wave Spectra