Provided is an apparatus and method for detecting timing errors based on characteristics of cyclic correlation. In one aspect, the control system delivers energy nearer to the surface of the tissue by changing the frequency or power. The invention uses a setting that arbitrary m column vectors included in inverse matrices of square MDS matrices being set up at least in consecutive even-numbered rounds and in consecutive odd-numbered rounds, respectively, constitute a square MDS matrix. The present invention also provides a method for making the pharmaceutical compositions and a method for using the pharmaceutical compositions.