Added sparse to dense and thrust fill.