ROTX generates rotation matrix around x axis by t radians

out = [1 0 0; 0 cos(t) -sin(t) ; 0 sin(t) cos(t)] ;