The computation of water waves modelled by Nekrasov's equation