tidied up the matrix mult example, and made the dot prod example, should be consistent with the tutorial now