Rewrote array conversion of persistence diagram
Rewrote array conversion of persistence diagram

Ensured that the implementation corresponds to the coding style outline
in the rest of the document, at least to some extent.

Submanifold/Aleph,Submanifold/Aleph,Submanifold/Aleph