Commented GraphNode.java and changed the deltaPosition var in update-method so it will use the method getDistance instead. Changed getDistance: returning double not casted to float.
Removed unused code
Removed unused code