add 2n check, squaring functions for Strassen algorithm