Initial version of validation metrics (still needs thorough testing)