How to revise a paper when the reviewer has not understood my work?
Make sure that the reviewer was wrong not you. S/he is definitely an
expert in the field and might see your work from a different
perspective. In this case, it is not a matter of being right or
wrong.
Assuming that s/he have not really understood your manuscript. This
suggests that there is something confusing about your manuscript. If
s/he, as an expert, has misunderstood it, this means many other
readers will not understand it too. Things might be crystal clear to us, but our expression can be confusing but we do not see the confusion from our perspective.


As a general advice, see peer-review as a gift instead of a fight.