Fixed custom gamma
Merge pull request #21 from pornel/customgamma

Fixed custom gamma