Fixed the CSV parser

It works! It is somewhat finicky, though. Documentation required.