function out=rot(t) % Given an angle t, creates the corresponding % 2x2 rotation matrix out=[cos(t),-sin(t);sin(t),cos(t)]