Changed the way keys are calculated.
Updated readme.