exponential model added. My first use of lambda expressions in C++11