Bugfix in reshaping utility.
Many bugfixes in training related to generalized scoring function.
Add resume code to bidirectional feature selection.
Clarify sort values in comments.
Add simple testing scripting for initial testing (improve later).