Using "Variables Ref" to check LS function for input

LS as a function to ensure each input have a mean as same as an expected
value.