Adds method for rotation via basis vectors.