I was sixteen when I really learned calculus all by myself from a book by Kowalevski a German not to be confused with Sonia Kovalevskaya

Could you correct the punctuation please?
... I was sixteen when I really learned calculus all by myself from a book by Kowalevski, a German not to be confused with Sonia Kovalevskaya ....