fixed bug with indexing random fault. fixed bug with param2 having excess characters (clearing msg buffer after write)
added output file for experiment 1 (empty)
Merge origin/master