Fixed bugs, obstacle, shape and dimension is now loaded from simulation file.