Added helper functions

lambda function, and x lower bound functions