added c mat mult function mimicing gpu mem access pattern