Beginning code for computing ocean waves