gem analysis