polyFeatures.m modified