Changed #initialize() method: Accepts array or vector as argument and if array, converts to vector