saves model according to 6 different performance criteria and not just after every ### epoch