compute a new feature array