Implemented inverse keys

Closes #98