IfThenElseExp - all functions in. Needs testing.