Functionals_Wacky: Added function and variable. Let's hope I am doing this right!