Implementation of Strassen's algorithm for matrix multiplication, with a cutoff point for switching over to the normal algorithm when more efficient