Crossing matrices and Thurston's normal form for braids