modified function parameters in FWave and fixed unit tests

1.) the functions in FWave will mainly rely on constant references as parameters
2.) vectors, eigenvalues, eigencoefficients are now passed to functions via arrays
3.) the calculation bug in flux was now also fixed in the unit tests
4.) the unit tests were adapted to the new parameter lists of the functions