Attempting to do simple things involving 3d in python