8x8x8 multiplexed LED cube with an Arduino Mega 2560

Updated schematic: