Trying to fix im_to_graph and added paramter for factor chances
merge