Added some comments. Added buttons for pi and e.