create NeuronVector and NeuronMatrix from Array[Double]