Update polyFeatures.m