BUG: subsample can now handle metadata
Merge pull request #438 from wasade/subsample_bug

BUG: subsample can now handle metadata