Update createFeature.m