implemented algorithm chooser. somehow this broke fruchterman
algorithm...