First try of generic strategy
typo
correct exhaustive_search prototype
Fixed compile
refactor matrix2instance