added extractFeatures.m to demo