Fixed bug with initial graph selection in hookes law