Using Persistent Homology to Determine a Human-Data Based Cost for Bipedal Walking