Save thresholds in the solution file
Thresholds should be saved in the solutions file, which would make it possible to use validation thresholds from a particular set on a different test set.
The solution file should be modified to have a "matrix" key with the data and a "metadata" key with additional information, such as thresholds.
Related to #22