add function to extract time course
Merge pull request #66 from sealhuang/add-mean-ts

add function to extract time course