Is there a reason you prefer an IndexedSeq here to an Array[V]? Is it jsut the translation cost into and out of DenseMatrix? It seems like the Array[V] is potentially cheaper (if we specialize)?