Cleanup: added docs to most functions and moved some functions to mathlib
Moved mathlib tests to a separate test case, started docs for the data generater used in test cases
Created a keystrokelib for keystroke-specific functions (mostly feature extraction)