[dotprod] more code cleanup
[dotprod] more code cleanup

jjffryan/pymtl,tj93/pymtl,cfelton/pymtl,Glyfina-Fernando/pymtl,jck/pymtl,cornell-brg/pymtl,12yujim/pymtl,cornell-brg/pymtl,jck/pymtl,12yujim/pymtl,12yujim/pymtl,jck/pymtl,jjffryan/pymtl,tj93/pymtl,cfelton/pymtl,cornell-brg/pymtl,cfelton/pymtl,tj93/pymtl,jjffryan/pymtl,Glyfina-Fernando/pymtl,Glyfina-Fernando/pymtl