the device works now, producing good results; however, the mmul() api isn't behaving like I expect