atomic matrix multiply generalized to non-square matrices.