Update ExtractFeatures script

* use more generic methoid to discover formulae

Change-Id: I6d3f0f396a38fc6015f8a8a8922595dad3ebee8e