Read vector from data file

,

The easiest solution is perhaps given here.