Computing statistics test
- extractFeatures function as a helper