Added/fixed code in APU.cpp like C Sharp Nes EMU

- Added envelope code, removed old code from APU.cpp
- Still no sound output