Changed predictOptimalVectorWidth

Changed predictOptimalVectorWidth function, now it is possible to choose vector size.

build_examples=OFF