Added inverse lookup

Closes https://github.com/PistonDevelopers/graphics/issues/622