Application of the Kalman Alignment Algorithm to the CMS tracker