unify interface of cached and uncached to_feature
Merge pull request #49 from grosser/unify

unify interface of cached and uncached to_feature