def rot_axis2(theta):
 ct = cos(theta)
 st = sin(theta)
 lil = ((ct, 0, (- st)), (0, 1, 0), (st, 0, ct))
 return Matrix(lil)

def rot_axis2 ( theta ) : ct = cos ( theta ) st = sin ( theta ) lil = ( ( ct , 0 , ( - st ) ) , ( 0 , 1 , 0 ) , ( st , 0 , ct ) ) return Matrix ( lil )
returns a rotation matrix for a rotation of theta about the 2-axis .