Fast Multidimensional Matrix Multiplication on CPU from Scratch