moves function givens_rotation to a better place