Numpy Convert List To Array In Scala