Adding baseline functions & comments

Added the start of the calculations for the two functions. Added
comments regarding what each portion does.