-write evaluation output to file
-fix bug - cast to double