Fix some bugs
Added Exponential example