rot3D in geom.py