Added some simple functions that can be run on the database: percentage correct, mean, median