Added 3D rotation matrix material