790 fix - Resample's dimensions error
Created by: aPovidlo
Solving one of problems from Issue #790. The bug was merging features and targets data. I don't know why, but after the updates release, target array became a 1-dim. Solution is to reshape it into 2-dim.