function [ thetaInDeg ] = angBetVec(vec1, vec2)
%This function determines the angle between the input vectors
%Who?
%When?

%This is the first function with more than one input argument (that's ok)
%This is also the first use case of a function with more than one line.
%Point being: The logic of working this out is hairy. It was hard in the
%lecture, it was hard in the last lab. We do it one more time. And test it.
%And then it will be part of our trusted toolbox forever. 

magVec1 = vecLen(vec1); %Reusing functions we already have
magVec2 = vecLen(vec2); %This is nice
dotProduct = dot(vec1,vec2); %Getting the dotproduct between them
thetaInDeg = rad2deg(acos(dotProduct./(magVec1.*magVec2))); %This should do it

end

