Removed some comments
Added functionfile and a m-file for plot