added hillFunctionsLHS.R