Fixed getting the h cost in the Node class. Updated Javadoc.