Tried to use the strategy pattern also for the objective function calculation properly. Code has linking problems and I think I haven't implemented the strategy properly. There is a mess with the pointers - I have to figure out that stuff somewhen and this is about time.