Added benchmarks.
Considerably improved performance of all functions (they are about ×15 faster now).