Added the TBB Function for max_element