Now, we can update a vector @vjovanov

I know we discussed the toInt method earlier, there actually is a toInt method overStrings in the OptiML specification, but they do not say anything about double to int conversion. 
But, I found that in Forge code here https://github.com/stanford-ppl/Forge/blob/master/apps/OptiML/src/FileUtil.scala
they also use toInt over elements of Double vector. It worked for me too