Fixed bug concerning features
Fixed bug concerning features

features was overwritten before last_feature was read out, resulting in
the last feature using a wrong value.

simplay/document_analysis,simplay/document_analysis,simplay/document_analysis