Updated to use gamma properly.
Added custom gaussian fit and 1D hist tools.