3D plot using transformation matrix in Python.