Made change to Vector. Added toInt method.