Modifications featextract, loop struct