rotation matrix bug fix

and turret update