Obstacle height now in units of leg length.

also added function demo mode