A Diablo 3 Gem Calculator ported over from my C# version.