set up initialization, derivatives
added wave to .gitignore
added more initialization - RHS, bounds checking