I wonder whether it's worth implementing this extension to >2D matrix multiplication in `safe_sparse_dot` or whether it's too rare a case.