extractObs function

Extract observations of functional data