added method: updateVector, changed tokenize string to strip non-word characters next to word boundries so that punctuation inside words was not stripped out