added some wave code, and some notes about how waves should work