Wrote the RotateAlg action so that attaching that algorithm to an AI component will make it run. Also updated ModelAttrib to include an UpdateTransform function that recalculates the Transform.