add uniform initialization for dense matrix/vector (tested)