Updated CPU functions, started PPU work