added backface culling, fixed cube arrays and indices