Added UpperGamma class. Added tests.