Functions_Wacky vars

vars have been made to use within the problem