Removed unneccessary printing
Added gaussian fit option