implementation of torsion (deviation) fingerprints