Added plotMultiArray method