Changed cube coordinates so origin is at center of cube not at corner. Easier to compute normals