starting to add mutable dense matrices support