Implement a function that computes the causal cumulative mean of a 3D tensor X with shape (B, T, C) along the time dimension T, using a lower-triangular weighting matrix and batched matrix multiplication.
For every batch index b and time index t, the output must satisfy:
output[b, t, :] = mean(X[b, 0:t+1, :], axis=0)
That is, position t of the output is the average of all positions from 0 up to and including t along the time axis (a causal running mean).
Your implementation must use a single (T, T) lower-triangular weight matrix W and a batched matrix multiply against X (i.e. W @ X broadcast over the batch dimension). Do not use loops over the time dimension, and do not use np.cumsum-based shortcuts that skip the matrix construction. Return a numpy array with the same shape as the input.