Refactor biplot parser into coord parser

Removes a lot of duplicate code.