compute_sea_state_1d_spectrum function

Compute sea_state parameter from wave spectrum