added 3d rotations and deg-to-rad convertion