Merge "Move implementations of matrix functions into driver/runtime."
am: e961168a5f

* commit 'e961168a5f47a4ad348b6241dac26a0758980024':
  Move implementations of matrix functions into driver/runtime.