Added indentation. Fixed bugs in readPTXM and readSCAP