Rewrote givens solution and updated corresponding pseudocode.