Add cli option for constant in wave solution

Implementation is horrible (pass parameter around too much, wouldn't
scale well at all) but c++ support for variable argument functions is
even worse so I'm not sure what else to do... Anyway I just need
results, so leaving it, sorry!