Added average hip position and walking direction to parameters (used for bias removing purposes). Fixed an error in the calcParameters code having to do with a mix-up between time indexes and actual times in the timeseries objects. Some other small changes were made as well.