1. A method that is performed by a computer, the method comprising: determining a plurality of feature locations of features within first sensed biometric data; determining a plurality of lines defined in relation to a first feature location of the plurality of feature locations and at least one other feature location of the plurality of feature locations, wherein one or more lines have an endpoint at the first feature location, wherein the plurality of lines define a plurality of polygons, and wherein each polygon of the plurality of polygons defines a respective rotation; creating a respective bipartite graph for each respective rotation; and determining, by the computer, a rotation of second sensed biometric data using one or more entries from a lookup table containing entries, wherein each entry is based on characteristics of at least one of the plurality of lines.