fix to reading in functional data based on extension
Merge branch 'master' of https://github.com/czarrar/connectir