Added the specifications of data types in the insert functions
The database class provides functions to insert datasets into tables to avoid SQL statements in the data-processing code. The functions used initially tuples and are now switched to take each value of the dataset separately with proper type definition. I also changed the naming of some fields in the database to reflect the style we adopted in the loss calculator.