fixed the bug of the parameter for least_power_partition algorithm
removed one empty line in start_visualization
mainly added the parameter of the simulation