Put features on the log scale

In the most changes to extract_features.m, the features
were not log transformed.  This commit does the transformation.
It also cleans up some code dealing with the interaction terms.